package com.by.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@Data
@ApiModel("供应商")
public class Supplier {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("供应商名称")
    private String supplierCompanyName;
    @ApiModelProperty("地区")
    private String region;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("公司简介")
    private String companyIntroduction;
    @ApiModelProperty("主要产品分类")
    private String mainProductCategories;
    @ApiModelProperty("报价系数")
    private double quotationCoefficient;
    @ApiModelProperty("可以生产的材质种类")
    private String materialTypes;
    @ApiModelProperty("营业执照")
    private String businessLicensePath;
    @ApiModelProperty("logo地址")
    private String logoPath;
    @ApiModelProperty("开户银行")
    private String openingBan;
    @ApiModelProperty("收款账号")
    private String receivingAccount;
    @ApiModelProperty("公司名称")
    private String companyNameForInvoice;
    @ApiModelProperty("纳税识别号")
    private String taxIdentificationNumber;
    @ApiModelProperty("备注")
    private String invoiceRemark;
    /**
     * 1 含运费
     2 不含运费
     */
    @ApiModelProperty("是否含运费")
    private Integer freightIncluded;

    /**
     * 1 含进仓费
     2 不含进仓费

     */
    @ApiModelProperty("是否含进仓费")
    private Integer warehouseFeeIncluded;

    /**
     * 1 需要审核
     2 不需要审核
     */
    @ApiModelProperty("参数产品支持(是否需要审核)")
    private Integer productParamApproval;

    @ApiModelProperty("账号")
    @NotBlank(message = "账号不能为空")
    private String account;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String password;

}
